package com.zy.je.common.mybatis.annotation;

import java.lang.annotation.*;

/**
 * @author zy
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(LogicUniques.class)
public @interface LogicUnique {

    String[] columns() default {};

    String message() default "已存在该字段!";

}
